import {createStore, applyMiddleware} from 'redux';
import thunk from 'redux-thunk';
import {composeWithDevTools} from 'redux-devtools-extension'
import reducers from './reducers';
/*
    redux最核心的管理对象store
 */
export default createStore(
    reducers,
    composeWithDevTools(applyMiddleware(thunk))
);